package com.lazybones.base.engineer;

import cn.dev33.satoken.SaManager;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = {"com.lazybones.base.engineer.mapper.**","mappers.**"})
public class LazybonesApplication {
    private static final Logger log = LoggerFactory.getLogger(LazybonesApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(LazybonesApplication.class, args);
        log.info("sa-token config value is {}", SaManager.getConfig());
    }

}
